﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

using HadronData;

namespace Hadron.Entities
{
    class Gravity
        : Entity
    {
        private Edge m_edgeGeometry;

        public Gravity(EntityMarker p_entityMarker, Environment p_environment)
            : base(p_entityMarker, p_environment)
        {
            m_edgeGeometry = new Edge();
            m_environment.Gravity += Vector2.UnitY * 32.0f;
        }

        public override void Update(GameTime p_gameTime)
        {
        }

        public override void Draw(SpriteBatch p_spriteBatch)
        {
        }

        public override EntityType  Type
        {
            get { return EntityType.Gravity; }
        }

        public override bool Hostile
        {
            get { return false; }
        }

        public override bool  Destructuble
        {
	        get { return false; }
        }

        public override Geometry Geometry
        {
            get { return m_edgeGeometry; }
        }
    }
}
